package com.Ajava1704.for并发包下的类.thread;

/**
 * 作者: LCG
 * 日期: 2020/6/23 22:38
 * 描述:
 */
public class TestTh444 {

    public static void main(String[] args) throws InterruptedException {

        Object object=new Object();

        Thread3 thread3=new Thread3(object);
        Thread4 thread4=new Thread4(object);

        thread3.start();
        thread4.start();
        Thread.sleep(3000);

        synchronized (object){
            object.notify();
        }

    }


}
